package com.rnkrsoft.suyan.config.server.services.param.domains;

import com.rnkrsoft.suyan.config.internal.enums.EnvironmentTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.doc.annotation.ApidocElement;
import javax.doc.data.PaginationRequest;


/**
 * Created by woate on 2018/6/19.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class QueryParamRequest extends PaginationRequest {
    @ApidocElement(value = "项目", required = false)
    String projectId;
    @ApidocElement(value = "环境类型", required = false, enumClass = EnvironmentTypeEnum.class)
    Integer environmentType;
    @ApidocElement(value = "环境名称", required = false)
    String environmentName;
    @ApidocElement(value = "机器名", required = false)
    String machineName;
    @ApidocElement(value = "参数名", required = false)
    String paramName;
    @ApidocElement(value = "参数描述", required = false)
    String paramDesc;
}
